package com.itmuch.inter;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.itmuch.conf.FeignConfiration;
import com.itmuch.pojo.User;

/** 
* @author  	  Lanxg 
* @E-mail  	  757553326@qq.com 
* @version    1.0 
* @createDate 2018年6月28日 下午4:09:31 
* class desc  
*/
@FeignClient(name="microservice-provider-user",configuration=FeignConfiration.class)
public interface UserFeignInterface {
	@RequestMapping(value="/{id}",method=RequestMethod.GET)
	public User findById(@PathVariable("id") Long id);

}
